﻿using System;
namespace XF.Model
{
	/// <summary>
	/// Base_Customer:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Base_Customer
	{
		public Base_Customer()
		{}
		#region Model
		private int _id = -1;
		private string _customercode;
		private string _customername;
		private int? _paytype = 3;
		private string _remark;
		private DateTime? _createdate;
		private string _createuser;
		private DateTime? _lastupdatedate;
		private string _lastupdateuser;
		private bool _enable= true;
		private DateTime? _checkoutdate = DateTime.Now;
		private decimal? _arrears = 0;
		private string _phone;
		private string _contacts;
		private int? _no;
		private string _account;
		private string _address;
		/// <summary>
		/// 
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CustomerCode
		{
			set{ _customercode=value;}
			get{return _customercode;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CustomerName
		{
			set{ _customername=value;}
			get{return _customername;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? PayType
		{
			set{ _paytype=value;}
			get{return _paytype;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Remark
		{
			set { _remark = value; }
			get { return _remark; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CreateUser
		{
			set{ _createuser=value;}
			get{return _createuser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LastUpdateDate
		{
			set{ _lastupdatedate=value;}
			get{return _lastupdatedate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string LastUpdateUser
		{
			set{ _lastupdateuser=value;}
			get{return _lastupdateuser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool Enable
		{
			set{ _enable=value;}
			get{return _enable;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CheckOutDate
		{
			set { _checkoutdate = value; }
			get { return _checkoutdate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? Arrears
		{
			set { _arrears = value; }
			get { return _arrears; }
		}

		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			set { _phone = value; }
			get { return _phone; }
		}

		public string Contacts
        {
            get { return _contacts; }
            set { _contacts = value; }
        }

		public int? No
        {
            get { return _no; }
            set { _no = value; }
        }
		public string Account
        {
            get { return _account; }
            set { _account = value; }
        }

		public string Address
		{
			get { return _address; }
			set { _address = value; }
		}
		#endregion Model

	}
}

